import { http } from '@/utils/request.js'

const receivableService = {
  list: (data) => {
    return http.get('/system/zlAgency/list', data)
  },
  getDetail: (zlagencyId) => {
    return http.get(`/system/zlAgency/${zlagencyId}`)
  },
  update: (data) => {
    return http.put(`/system/zlAgency`, data)
  },
  optionList: () => {
    return http.get('/system/customerInformation/queryList')
  },
  addZlPrompt: (data) => {
    return http.post(`/system/zlPrompt/${data.zlagencyId}`)
  },
}
export default receivableService
